package fiuba.algo3.tp2;

public class Coordenada {
	
	private int fila;
	private int columna;

	public Coordenada(int fila, int columna) {
		this.fila = fila;
		this.columna = columna;
	}

	public int obtenerFila() {
		return this.fila;
	}

	public int obtenerColumna() {
		return this.columna;
	}
	
	public void setFila(int fila){
		this.fila = fila;
	}
	
	public void setColumna(int columna){
		this.columna = columna;
	}
	
	public String devolverCoordenadaEnString(){
		int fila = this.fila;
		int columna = this.columna;
		String aDevolver = "(" + String.valueOf(fila) + ", " + String.valueOf(columna) + ")";
		return aDevolver;
	}
}
